import {createRouter, createWebHistory, createWebHashHistory} from 'vue-router';
// 通用路由+静态路由
import BaseRouter from './base/'
import PageRouter from './page/'
import viewsRouter from './views/'
import viewsYwRouter from './viewsyw/'

// 注册
const router = createRouter({
    base: import.meta.env.VITE_APP_BASE,
    history: createWebHistory(),
    routes: [...BaseRouter, ...PageRouter, ...viewsRouter,...viewsYwRouter],
})

export default router;



